<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      #template {
        display: none;
      }
    </style>
  </head>
  <body>
    <!-- <template v-if="count > 1">
        <div>1</div>
        <div>2</div>
        <div>3</div>
        <div>4</div>
      </template> -->
    <!-- <h1 v-if="count > 1" v-for="1 in 5">{{ count }}</h1> -->

    <!-- js_call_expression -->
    <!-- <h1 v-if="count > 1" v-bind="obj">{{ count }}</h1> -->
    <!-- <h1 v-if="count > 1" :a="1">{{ count }}</h1> -->
    <!-- <Test>
          <template v-slot:default="xxx">111</template>
      </Test> -->
    <div id="template">
      <div v-if="xxx" v-bind="obj"></div>
    </div>
    <div id="app"></div>
    <script src="../../../../packages/vue/dist/vue.global.js"></script>

    <script>
      const { createApp, ref } = Vue

      const template = document.querySelector('#template')?.innerHTML
      const App = {
        setup() {
          const count = ref(2)
          const add = () => count.value++
          return {
            count,
            add
          }
        },
        template
      }

      createApp(App).mount('#app')
    </script>
  </body>
</html>
